Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logging in TrashedRegisterFinder.ProcessBlock #1284

Merged
merged 1 commit into from
Sep 3, 2023

Conversation

throwaway96
Copy link
Contributor

Previously, nothing would appear in the event log for certain errors that occurred in TrashedRegisterFinder.ProcessBlock(). Now, for any exception that is not handled elsewhere, a reference to the statement that caused the exception will be added to the log, and the containing block will be dumped.

Code by @uxmal.

Add some extra logging to help debug errors during analysis.
@uxmal
Copy link
Owner

uxmal commented Sep 3, 2023

Thanks for the PR. I will probably make this a general tool for usage in the other transformations in the analysis stage. It will help with debugging.

@uxmal uxmal merged commit ead7ae7 into uxmal:master Sep 3, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants